﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="passport.aspx.cs" Inherits="WebApplication.admin.Passport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改密码</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../scripts/script.js"></script>
<script type="text/javascript" src="../scripts/qsl.validate.net.js"></script>
<script type="text/javascript">
    document.ready(function () {
        new FormChecker([
            ['currpass', '请正确输入当前密码'],
            ['newpass', '请输入新的密码'],
            ['newpass2', '请正确输入上面填写的新密码', function (v) { return v == $('newpass').value }]
        ]);
    });
</script>
</head>

<body>
<form method="post" action="passport.aspx" runat="server">
<div class="form">
    <h3>修改登录密码</h3>
    <div class="item">
        <label>更改登录名：</label>
        <asp:textbox runat="server" id="currname" cssclass="text" />
    </div>
    <div class="item">
        <label>请输入当前密码：</label>
        <asp:textbox runat="server" id="currpass" cssclass="text" textmode="password"/>
    </div>
    <div class="item">
        <label>请输入新密码：</label>
        <asp:textbox runat="server" id="newpass" cssclass="text" textmode="password" />
    </div>
    <div class="item">
        <label>请重复新密码：</label>
        <input type="password" class="text" id="newpass2" name="newpass2" />
    </div>
    <div class="item">
        <label>&nbsp;</label>
        <asp:button text="确认修改" runat="server" cssclass="btn" onclick="changPassport_Click" />
    </div>
</div>
<asp:literal id="tip" runat="server" />
</form>
</body>
</html>
